package com.sz.designpattern.create5.singleton.lazy;

public class NotSafeLazySingleton {
    private static NotSafeLazySingleton singleton = null;

    private NotSafeLazySingleton() {
    }

    public static NotSafeLazySingleton getInstance(){
        if (singleton == null){
            singleton = new NotSafeLazySingleton();
        }
        return singleton;
    }
}
